/** 
 * File-Name:OpenSourceProject.java
 *
 * Created on 2011-4-20 下午06:39:20
 * 
 * @author: Neo (neolimeng@gmail.com)
 * Software Engineering Institute, Peking University, China
 * 
 * Copyright (c) 2009, Peking University
 * 
 *
 */
package com.exceptionhandler.entity;

import java.util.List;

/**
 * Description: The information related to an open source project.
 * 
 * @author: Neo (neolimeng@gmail.com) Software Engineering Institute, Peking
 *          University, China
 * @version 1.0 2011-4-20 下午06:39:20
 */
public class OpenSourceProject extends CommonEntity {
	public static final int SVN = 1;
	public static final int CVS = 2;
	public static final String SPLITER = "#,#";

	private String name;
	private String homePage;
	private String introduction;
	private String categories;
	private String languages;
	private int versionControlType = SVN;
	private String versionControlUrl;
	private String issueTrackingUrl;
	private String forumUrls;
	private String documentUrl;
	private Version currentVersion;
	private List<Version> versions;

	public class Version {
		private String version;

		public String getVersion() {
			return version;
		}

		public void setVersion(String version) {
			this.version = version;
		}
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getHomePage() {
		return homePage;
	}

	public void setHomePage(String homePage) {
		this.homePage = homePage;
	}

	public String getIntroduction() {
		return introduction;
	}

	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}

	public String getCategories() {
		return categories;
	}

	public void setCategories(String categories) {
		this.categories = categories;
	}

	public String getLanguages() {
		return languages;
	}

	public void setLanguages(String languages) {
		this.languages = languages;
	}

	public int getVersionControlType() {
		return versionControlType;
	}

	public void setVersionControlType(int versionControlType) {
		this.versionControlType = versionControlType;
	}

	public String getVersionControlUrl() {
		return versionControlUrl;
	}

	public void setVersionControlUrl(String versionControlUrl) {
		this.versionControlUrl = versionControlUrl;
	}

	public String getIssueTrackingUrl() {
		return issueTrackingUrl;
	}

	public void setIssueTrackingUrl(String issueTrackingUrl) {
		this.issueTrackingUrl = issueTrackingUrl;
	}

	public String getDocumentUrl() {
		return documentUrl;
	}

	public void setDocumentUrl(String documentUrl) {
		this.documentUrl = documentUrl;
	}

	public Version getCurrentVersion() {
		return currentVersion;
	}

	public void setCurrentVersion(Version currentVersion) {
		this.currentVersion = currentVersion;
	}

	public List<Version> getVersions() {
		return versions;
	}

	public void setVersions(List<Version> versions) {
		this.versions = versions;
	}

	public String getForumUrls() {
		return forumUrls;
	}

	public void setForumUrls(String forumUrls) {
		this.forumUrls = forumUrls;
	}
}
